/**
 * 
 * 
 * 
 */
import React,{Component} from 'react'
import {StyleSheet,View,Text,Image} from 'react-native'
import {PropTypes} from 'prop-types';
import px from '../util/px'
class Header extends Component{
    constructor(props){
       super(props)
    }
    static propTypes={

    }
    static defaultProps={

    }
    render(){
        return <View style={styles.header}>
                 <View style={styles.logo}>
                     <Image 
                     source={{uri:'http://c-shuqi.11222.cn/assets/logo_7a44de2.png'}}
                     style={{width:px(50),height:px(50)}} 
                     />
                    <Image
                        source={{uri:'http://c-shuqi.11222.cn/assets/website-name_c08f935.png'}}
                        style={{marginHorizontal:px(32),width:px(144),height:px(33)}} 
                    />
                 </View>
                 
        </View>
    }
}
const styles=StyleSheet.create({
    header:{
        flexDirection:'row',
        alignItems:'center',
        height:px(88),
        backgroundColor:'#ffffff',
        paddingHorizontal:px(32),
        borderBottomWidth:1,
        borderBottomColor:"#f3f3f3" 
  
    },
    logo:{
       flexDirection:'row',
       alignItems:'center' 
    } 
})
export  default Header